package com.qianji.comment;

import cn.hutool.http.HttpUtil;
import org.springframework.stereotype.Repository;

import java.util.Map;
/**
 * @Author 钟丽诗
 * @Date 2021.3.10
 *
 */
@Repository
public class HttpComment {

    public static String get(String url){

        return HttpUtil.get(url);
    }

    public static String post(String url , Map<String,Object> map){

        return HttpUtil.post(url,map);
    }

}
